// 设施模块
const {
	Facility
} = require('../../../model/Facility');

module.exports = async (req, res) => {
	// 查询设施信息
	const facilities = await Facility.find().sort('-_id');
	// 响应
	res.sendResult(facilities, 200, '获取设施列表信息成功');
}